package com.ruoyi.system.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.DzbqIndustryinfoMapper;
import com.ruoyi.system.domain.DzbqIndustryinfo;
import com.ruoyi.system.service.IDzbqIndustryinfoService;

/**
 * 行业信息Service业务层处理
 * 
 * @author tianxingxia
 * @date 2025-02-07
 */
@Service
public class DzbqIndustryinfoServiceImpl implements IDzbqIndustryinfoService 
{
    @Autowired
    private DzbqIndustryinfoMapper dzbqIndustryinfoMapper;

    /**
     * 查询行业信息
     * 
     * @param industryId 行业信息主键
     * @return 行业信息
     */
    @Override
    public DzbqIndustryinfo selectDzbqIndustryinfoByIndustryId(Integer industryId)
    {
        return dzbqIndustryinfoMapper.selectDzbqIndustryinfoByIndustryId(industryId);
    }

    /**
     * 查询行业信息列表
     * 
     * @param dzbqIndustryinfo 行业信息
     * @return 行业信息
     */
    @Override
    public List<DzbqIndustryinfo> selectDzbqIndustryinfoList(DzbqIndustryinfo dzbqIndustryinfo)
    {
        return dzbqIndustryinfoMapper.selectDzbqIndustryinfoList(dzbqIndustryinfo);
    }

    /**
     * 新增行业信息
     * 
     * @param dzbqIndustryinfo 行业信息
     * @return 结果
     */
    @Override
    public int insertDzbqIndustryinfo(DzbqIndustryinfo dzbqIndustryinfo)
    {
        return dzbqIndustryinfoMapper.insertDzbqIndustryinfo(dzbqIndustryinfo);
    }

    /**
     * 修改行业信息
     * 
     * @param dzbqIndustryinfo 行业信息
     * @return 结果
     */
    @Override
    public int updateDzbqIndustryinfo(DzbqIndustryinfo dzbqIndustryinfo)
    {
        return dzbqIndustryinfoMapper.updateDzbqIndustryinfo(dzbqIndustryinfo);
    }

    /**
     * 批量删除行业信息
     * 
     * @param industryIds 需要删除的行业信息主键
     * @return 结果
     */
    @Override
    public int deleteDzbqIndustryinfoByIndustryIds(Integer[] industryIds)
    {
        return dzbqIndustryinfoMapper.deleteDzbqIndustryinfoByIndustryIds(industryIds);
    }

    /**
     * 删除行业信息信息
     * 
     * @param industryId 行业信息主键
     * @return 结果
     */
    @Override
    public int deleteDzbqIndustryinfoByIndustryId(Integer industryId)
    {
        return dzbqIndustryinfoMapper.deleteDzbqIndustryinfoByIndustryId(industryId);
    }
}
